UnityObjects.Data Discount =UnityApp.NewDataObject(UnityObjects.DataObjectType.doSalesDispatch);
Discount.Read(12);
string domates;
Discount.ExportToXMLStr("SALES_DISPATCHES", domates);
if (Discount.Read(12))
{
MessageBox.Show("Başarılı");
}
else
{
if (Discount.ValidateErrors.Count > 0)
{
for (int i = 0; i < Discount.ValidateErrors.Count - 1; i++)
{
MessageBox.Show("XML Error:(" + Discount.ValidateErrors.ToString() + ") -" + Discount.ValidateErrors.ToString());
}
}
}